-- GENERATED SPELL FOR [Darkwater Crocolisk] --


function spell0_17952(pUnit, Event) --@Jagged Tooth Snap,n/a--
pUnit:FullCastSpellOnTarget(34370,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17952', 597, 1)
end

function Sorts_17952(pUnit, Event)
local choix_sorts_17952 = math.random(0, 0)
if choix_sorts_17952 == 0 then
pUnit:RegisterEvent('spell0_17952', 1, 1)
end
end

function mob17952_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17952', math.random(1500, 3000), 1)
end

function mob17952_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17952_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17952_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17952, 1, 'mob17952_Action')
RegisterUnitEvent(17952, 2, 'mob17952_Leave')
RegisterUnitEvent(17952, 3, 'mob17952_Kill')
RegisterUnitEvent(17952, 4, 'mob17952_Die')
